#对字符串求长
s = "hello lucy"
print(len(s))


#通过索引获取单个字符
print(s[0])
print(s[5])

#布尔类型
b1 = True
b2 = False

#空值类型
n = None

#type函数
print(type(s))
print(type(b1))
print(type(b2))
print(type(n))
print(type(1.5))
